package com.nchu.service;

import com.nchu.VO.UserVO;
import com.nchu.common.util.PageResult;
import com.nchu.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaojie
 * @since 2025-01-09
 */
public interface IUserService extends IService<User> {
    //分页查询用户
    PageResult<User> findByPage(Integer page, Integer pageSize);
    //查找用户信息
    PageResult<User> search(Integer page, Integer pageSize, UserVO userVO);
    //添加用户信息
    boolean addUser(User user);
}
